package com.xue.my.protocol.codec;
/**   
 * @Title: ProtocolTypeEnum.java 
 * @Package com.xue.my.protocol.codec 
 * @Description: TODO
 * @author jimmy lovelyxuehanxin@163.com   
 * @date 2013-7-28 下午6:00:18 
 */
public enum ProtocolTypeEnum {
	
    JSONMSGTYPE("001", "jsonmsgtype"),
    PROTOBUF("002", "protobuftype");
    
    private final String code;
    private final String msgType;

    ProtocolTypeEnum(String code, String msgType) {
        this.code = code;
        this.msgType = msgType;
    }

	public String getCode() {
		return code;
	}

	public String getMsgType() {
		return msgType;
	}
}